I have recently started learning Cobol. Of course, I need to understand some background and application fields and prospects for learning a language. Let's talk about my questions and understanding.
1. How old is Cobol?For this question, read a book and check the information. COBOL is the abbreviation of common business oriented language. It is mainly used to s
I really didn't expect that I would do it in COBOL, even if I knew the history of computers:
Post a post that has been transferred n times
1. How old is Cobol?For this question, read a book and check the information. COBOL is the abbreviation of common business oriented language. It is mainly used to solve a large number of data processing problems in business an
Abbreviations:
COBOL(Common Business Oriented Language)
Chinese Translation: Cobol Language
Interpretation: a programming language similar to English that is suitable for business and data processing. This language accurately expresses the business data processing process.
COBOL is one of the oldest advanced programming languages and the first commercial languag
Recently I have been busy with my work and my graduation work, so I am not very busy. Now we have a bit of free time. Let's take a look.
Since so many people need the COBOL teaching materials, I will recommend them to you.It is in the IBM library, and I think it is comprehensive. As long as you finish reading this, it should be okay with Cobol.
IBM Library ReaderHttp://www-1.ibm.com/support/docview.wss?
Interest calculation is an important business of banks, including daily proxy customer collection, calculation of customer interest, and annual interest calculation. Currently, most of this work is performed on the Safe Application System Platform of the IBM es9000 host. The online program and the on-line interest rate program are implemented in the IBM 370 assembly language. For ease of reading and writing in assembly language, the data storage format is defined in the data stored in the VSAM f
COBOL language IntroductionCOBOL Introduction--Business computing preferred Language COBOL is the acronym for the Common Business oriented Language (general commercial language). Widely used in the field of data management, such as accounting work, statistical reports, planning, personnel management. is referred to as the "language for Administration".Characteristics of data processing:The arithmetic comput
Next to the book (an entry to the COBOL study notes)SlaveProgramWe can see that the COBOL program is divided into four parts:Identification Division.Environment Division.Data Division.Procedure division.
For more information about the functions of each part, see Chapter 1 Cobol.
Here we mainly look at the content in procedure Division. This is the core.Process
The format of the COBOL source program is as follows:
Each line starts with a sequence number with six characters. You can enter limit 10 or limit 20 to indicate the rows.
The sequence number area is followed by an indicator area of a character (7th characters), as shown in the first line. You can use "*" and "/" to represent comments, "_" to represent continued rows, and "D" to represent debugging.
The indicator area is followed by four characters (8
The first time I got in touch with Cobol today, the lecturer was an English speaker. It was really hard to take the course. Alas .... the English is not good. There are two books in China that feel okay, the simple guide of COBOL and the programming language design of COBOL (TAN haoqiang)
The following is the first program and a hello program. The tool is
First o
The format of the identity department:code example:Identification Division.Program-id. Idsample.AUTHOR. PROGRAMMER NAME.Installation. COBOL Development CENTER.Date-written. 08/27/88.Date-compiled. 09/01/88 12:57:53.SECURITY. Non-confidential.Format of the Ministry of the Environment:code exampleEnvironment Division.CONFIGURATION section.Source-computer. ibm-as400.Object-computer. ibm-as400.Special-names. Cð1 is top-of-page.Source-computer defines the
COBOL syntax and grammar (1)
RedefinesDifferent variables can be used to describe the same memory.01 part_recode usage display03 part-type picture...03 part_type_a.05 part_number picture...05 part_cost picture...03 part_type_ B redefines part_type_a.05 upc_code picture...03 part_type_c redefines part_type_a.05 ISBN picture...Based on part_type, choose part_type_a, part_type_ B, or part_type_c.Rules:The length of part_type_ B and par
Recursion is rarely used in Cobol. It is also boring to see this example in IBM book.
Identification Division.
Program-id. recutestRecursive.
**************************************** ***
* Recursive Test
**************************************** **
Environment Division.
Data Division.
Working-storage section.
01 numb PIC 9 (4) value 5.
01 fact PIC 9 (8) value 0.
Local-storage section.
01 num PIC 9 (4 ).
Procedure division.
M
of the memory
Description of the file General formatFD file name (internal file name)01 Record Name05 data item 1 PIC ...05 Data item 2 PIC ...An FD statement is a file descriptor that describes the properties of a file and a record, such as the record name, format, and length .All data groups and data items under the FD statement make up a record of the file.Record Description: The record description begins with a 01-layer number followed by a record name. The data format used to define r
The following is an example of an array:01 RECORD-X.03 month occurs 12 times.05 name pic x (12 ).05 days occurs 31 Tiems.07 comment pic x (20 ).07 TEMP-HI PIC s999.07 TEMP-LO PIC s999.77 current-day PIC 99.The call is as follows:Month (5): group
the appropriate high-level language for compiling or interpreting programs.Currently widely used in the high-level language has basic, PASCAL, C, COBOL, FORTRAN, logo and VC, VB and so on. These languages are all part of the system software. (Learn about Content II)The computer can not directly accept and execute the source program written in high-level language, when the source program enters the computer, it is translated into the machine language
2006-07-16 18:09:59 RocHello
2006-07-16 18:10:29 Green RunHow are you doing.
2006-07-16 18:11:53 RocI wonder if you are free now? hehe
2006-07-16 18:11:16 Green RunNow it's playing chess. Oh
2006-07-16 18:12:19 RocGo?
2006-07-16 18:13:49 RocOh ~ ~I do not know the situation you see it.Wait for the leisure to consult your suggestion ~ ~
2006-07-16 18:13:54 RocCheixian
2006-07-16 18:13:10 Green RunYou are welcome. I haven't seen it yet.
2006-07-16 18:15:19 RocWell.. Then I think back to the idea t
Back to Cloud Island: All SaaS users are happy. Because they can get a quick response. Because the only control that these users have is control over access to the application, they do not worry about whether the application has a multithreaded routine or how many cores in the cloud are used to accelerate multithreading in parallel. The problem application was successfully migrated from the internal multithreaded COBOL legacy system.
Of course, one d
2006-07-16 18:09:59 ROCHello
18:10:29 qingrunHello.
2006-07-16 18:11:53 ROCI do not know if you are empty now? Haha
18:11:16 qingrunPlaying chess now. Haha
2006-07-16 18:12:19 ROCGo?
2006-07-16 18:13:49 ROCHaha ~~I don't know. Have you read this.Ask for your suggestions when you are idle ~~
2006-07-16 18:13:54 ROCXie Xian
18:13:10 qingrunYou're welcome. I haven't seen it yet.
2006-07-16 18:15:19 ROCWell, I'll try again and try again.
18:14:30 qingrunOkay.
2006-07-16 18:32:38 ROCI just graduated
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.